﻿using Infrastructure.Common.Properties;

namespace Infrastructure.Common.Config.Imp
{
    public class SettingsConfig
    {
        /// <summary>
        ///     读取Properties
        /// </summary>
        /// <returns></returns>
        public string GetProperties()
        {
            return Settings.Default.hisname;
            //return Properties.Settings.Default.LoveColor.Name;
            //return Properties.Settings.Default.myName;
        }

        /// <summary>
        ///     写入User Scope
        /// </summary>
        /// <returns></returns>
        public string WR_UserScope()
        {
            return Settings.Default.myname;
        }
    }
}